package cn.tansanqinger.dao.sql;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import cn.tansanqinger.pojo.Knowledge;

@Repository
public interface IKnowledgeSqlDao extends BaseMapper<Knowledge>{

	@Select("select k.*, u.* from knowledge k , user u where k.kauid=u.id")
	public List<Map<String,Object>> listKnowledgeSelect(); 
}
